package com.example.service;

import com.example.domain.dto.UserInfoResponse;
import com.example.domain.po.User;
import com.example.domain.response.HttpResponse;

public interface UserService {
    HttpResponse<UserInfoResponse> getUserInfo(String username);

    /**
     * 根据用户id获取用户名
     */
    String getUserNameById(Long userId);

    /**
     * 获取用户的详细信息
     * @param username
     */
    User getUserDetail(String username);
}
